package com.zztest.aitestmini.dto.user;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: zhangcheng
 * @Description: 实体类，    封装客户端与服务器交互请求响应参数
 * @Date: 2021/3/23/023 15:46
 * @Version: 1.0
 */
@ApiModel(value = "用户注册对象",description="用户对象user")
@Data
@JsonIgnoreProperties(ignoreUnknown = true) // 忽略类中不存在的字段。
public class UserDto {
/*    @ApiModelProperty(value="用户id",required=true)
    private  Integer id;*/
    @ApiModelProperty(value = "用户名",required = true)
    private String userName;
    @ApiModelProperty(value = "密码",required = true)
    private String password;
 /*   @ApiModelProperty(value="邮箱",required=true)
    private String email*/;
}
